package com.gwtjs.struts;

import com.opensymphony.xwork2.ActionSupport;

public class BaseAction extends ActionSupport {

	private static final long serialVersionUID = 2645886408423327161L;

	protected String ascProperty;
	protected boolean isAsc;
	protected int start;
	protected int limit;

	protected String ids;
	protected String result;
	protected String success = "true";
	protected String attr;
	protected String val;

	@Override
	public String execute() throws Exception {
		return super.execute();
	}

	public boolean isAsc() {
		return isAsc;
	}

	public String getIds() {
		return ids;
	}

	public String getAscProperty() {
		return ascProperty;
	}

	public void setAscProperty(String ascProperty) {
		this.ascProperty = ascProperty;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getSuccess() {
		return success;
	}

	public void setSuccess(String success) {
		this.success = success;
	}

	public String getAttr() {
		return attr;
	}

	public void setAttr(String attr) {
		this.attr = attr;
	}

	public String getVal() {
		return val;
	}

	public void setVal(String val) {
		this.val = val;
	}

	public void setAsc(boolean isAsc) {
		this.isAsc = isAsc;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

}
